﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="CoachInfoForm.aspx.cs" Inherits="FootBallMatchProject.Piography.Client.CoachInfoForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:FormView ID="CoachView" runat="server" Width="100%">
        <ItemTemplate>
            <table  class="style2" dir="rll">
                <tr>
                    <td>
                        <table class="style1" dir="rtl">
                            <tr>
                                <td colspan="2" dir="rtl" style="width: 100%">
                                    <asp:Image ID="Image2" runat="server" 
                                        ImageUrl='<%# "../../Images/Coach_Images/" + Eval("ID") + "/" + Eval("Image") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td dir="rtl" style="width: 100%">
                                    <asp:Label ID="Label9" runat="server" Font-Bold="True" 
                                        Text='<%# Bind("Name") %>'></asp:Label>
                                </td>
                                <td dir="rtl" style="width: 100%">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td dir="rtl" style="width: 100%">
                                    <asp:Label ID="Label3" runat="server" Text="تاريخ الميلاد"></asp:Label>
                                </td>
                                <td dir="rtl" style="width: 100%">
                                    <asp:Label ID="Label5" runat="server" 
                                        Text='<%# System.DateTime.Parse(Eval("DateOfBirth").ToString()).ToString("dd/MM/yyyy") %>'></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td dir="rtl" style="width: 100%">
                                    <asp:Label ID="Label4" runat="server" Text="الجنسية"></asp:Label>
                                </td>
                                <td dir="rtl" style="width: 100%">
                                    <asp:Label ID="Label6" runat="server" Text='<%# Bind("NationalityName") %>'></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td dir="rtl" colspan="2">
                                    <asp:Label ID="Label8" runat="server" Text='<%# Bind("GeneralInformation") %>' 
                                        Width="100%"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:FormView>
</asp:Content>
